package com.ctsi.question.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 周报模块领导层级
 * @author zhangjw
 */
@Entity
@Table(name = "t_report_leader")
public class ReportLeader implements Serializable {
    /**
     * 主键
     */
    @Id
    private String id;
    /**
     * 人员Id
     */
    @Column
    private String personId;
    /**
     * 人员姓名
     */
    @Column
    private String personName;
    /**
     * 领导Id
     */
    @Column
    private String parentId;
    /**
     * 岗位名称
     */
    @Column
    private String jobName;
    /**
     * 左极限
     */
    @Column
    private Integer lft;
    /**
     * 右极限
     */
    @Column
    private Integer rgt;

    @Column
    private String createBy;

    @Column
    private String lastUpdateBy;

    @Column
    private Long createAt;

    @Column
    private Long lastUpdateAt;

    @Column
    private String departId;

    public ReportLeader() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPersonId() {
        return personId;
    }

    public void setPersonId(String personId) {
        this.personId = personId;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public Integer getLft() {
        return lft;
    }

    public void setLft(Integer lft) {
        this.lft = lft;
    }

    public Integer getRgt() {
        return rgt;
    }

    public void setRgt(Integer rgt) {
        this.rgt = rgt;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(String lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }

    public Long getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Long createAt) {
        this.createAt = createAt;
    }

    public Long getLastUpdateAt() {
        return lastUpdateAt;
    }

    public void setLastUpdateAt(Long lastUpdateAt) {
        this.lastUpdateAt = lastUpdateAt;
    }

    public String getDepartId() {
        return departId;
    }

    public void setDepartId(String departId) {
        this.departId = departId;
    }
}
